<extend name='Layout/index' />

<block name='breadcrumb'>
	<li>
		<i class="icon-home home-icon"></i>
		<a href="#">首页</a>
	</li>
	<li class="active">用户管理</li>
</block>

<block name='page_header'>
	<h1 style="font-size:14px">
		用户管理
		<i class="icon-double-angle-right"></i>
		 会员管理
		<i class="icon-double-angle-right"></i>
		 会员列表
	</h1>
</block>

<block name='main_content'>
	<div class="row">
		<div class="col-md-12">
			<table class='table'>
			<thead>
				<tr>
					<th>id</th>
					<th>姓名</th>
					<th>性别</th>
					<th>年龄</th>
					<th>邮箱</th>
					<th>状态</th>
					<th>注册时间</th>
					<th>操作</th>
				</tr>
			</thead>
			<tbody>
				<volist name='list' id='vo'>
		
				<tr>
					<td><{$vo.uid}></td>
					<td><{$vo.uname}></td>
					<td><?php echo ($vo['sex'] == '0')?'女':'男';?></td>
					<td><?php echo date('Y',time())-$vo['birthday_year']?></td>
					<td><{$vo.email}></td>
					<td><?php echo ($vo['display'] == '0')?'显示':'隐藏'?></td>
					<td><?php
					echo date('Y-m-d H:i:s',$vo['utime']);
					?></td>
					<td>
						<a href="<{:U('delete', array('iid'=>$vo['iid'],'nid'=>$vo['nid']))}>" class="btn btn-danger">删除</a>
						<a href="<{:U('edit', array('iid'=>$vo['iid'],'nid'=>$vo['nid']))}>" class="btn btn-info">修改</a>
					</td>
				</tr>  
				</volist>
			</tbody>
		</table>
		</div>
	</div>
		

</block>